package com.bwda.dsrs.domain.po.serverslog;

import com.bwda.dsrs.common.base.ApiResult;
import com.bwda.dsrs.domain.po.adminlog.AdminLogPo;
import com.bwda.dsrs.domain.po.surfacelog.SurfaceLogPo;
import com.bwda.dsrs.domain.po.userlog.UserLogPo;

import java.io.Serializable;

/**
 * 封装参数类
 *
 * @author yanyuemei
 * @date 2019/4/8
 */
public class LogTemplate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 请求ID集合
     */
    private String uid;
    /**
     * 处理类型 toFile和toDB
     */
    private String handleType;
    /**
     * 请求ID集合
     */
    private Integer id;
    /**
     * 管理系统模板
     */
    private AdminLogPo adminLogPo;
    /**
     * 用户日志模板
     */
    private UserLogPo userLogPo;
    /**
     * 外部服务日志模板
     */
    private SurfaceLogPo surfaceLogPo;
    /**
     * 参数
     */
    private ApiResult data;

    /**
     * 当前请求服务ID
     */
    private String serviceId;


    public LogTemplate() {
    }

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public AdminLogPo getAdminLogPo() {
        return adminLogPo;
    }

    public void setAdminLogPo(AdminLogPo adminLogPo) {
        this.adminLogPo = adminLogPo;
    }

    public String getHandleType() {
        return handleType;
    }

    public void setHandleType(String handleType) {
        this.handleType = handleType;
    }

    public UserLogPo getUserLogPo() {
        return userLogPo;
    }

    public void setUserLogPo(UserLogPo userLogPo) {
        this.userLogPo = userLogPo;
    }

    public SurfaceLogPo getSurfaceLogPo() {
        return surfaceLogPo;
    }

    public void setSurfaceLogPo(SurfaceLogPo surfaceLogPo) {
        this.surfaceLogPo = surfaceLogPo;
    }

    public ApiResult getData() {
        return data;
    }

    public void setData(ApiResult data) {
        this.data = data;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }
}

